<?php

namespace App\Http\Requests\ShopAdmin\Goods;

use App\Http\Requests\Request;

class GoodsEorderInfoRequest extends Request
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * 验证规则
     *
     * @return array
     */
    public function rules()
    {
        $rules =  [
//            'ieType' => 'required|in:I,E',
//            'stockFlag' => 'required|in:1,2',
//            'batchNumbers' => 'required',
//            'totalLogisticsNo' => 'required',
//            'tradeCountryCiq' => 'required',
//            'tradeCountryCus' => 'required',
//            'packageTypeCiq' => 'required',
//            'packageTypeCus' => 'required',
//            'currencyCiq' => 'required',
//            'currencyCus' => 'required',
//            'unitCiq' => 'required',
//            'unitCus' => 'required',
//            'originCountryCiq' => 'required',
//            'originCountryCus' => 'required',
//            'weight' => 'required',
//            'transportationWay' => 'required',
//            'shipCode' => 'required',
        ];
        return $rules;

    }
}